203. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2021-05-13 09:09:01 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

203.1 Files compared

#LocationFileLast Modified
1/Applications/Ampps/www/Porto 3.2.2/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/viewmain_custom_block2.phtml2018-06-01 22:26:38 +0000
22021-05-13 09:09:01 +0000

203.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged00
Changed00
Inserted00
Removed110

203.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

203.4 Active regular expressions

No regular expressions were active.

203.5 Comparison detail

1 <?php    
2     $product_view = $this->getConfig('porto_settings/product');    
3     $block = $this->getLayout()->createBlock('Magento\Cms\Block\Block');    
4     if($block) {    
5         $block->setBlockId($product_view['main_custom_block2']);    
6     }    
7     if($block && isset($product_view['main_custom_block2']) && $product_view['main_custom_block2'] !=''){    
8         echo '<div class="custom-block">'.$block->toHtml().'</div>';    
9     }    
10 ?>